package com.ctyun.xstore.vod.category.request;

import com.ctyun.xstore.vod.common.AbstractPostRequest;

public class AddVideoCategoryRequest extends AbstractPostRequest {

	private final String name;
	private final Long parentId;

	public AddVideoCategoryRequest(String name, Long parentId) {
		super();
		this.name = name;
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public Long getParentId() {
		return parentId;
	}

	@Override
	protected String getPath() {
		return "/video/category";
	}
}
